//
//  BookmarkModelData.swift
//  YoruNeko
//
//  Created by  mahoPunch on 2021/6/28.
//

import Foundation
import SwiftUI

class BookmarkModelData: ObservableObject {
    @Published var curBookmarkFolder:YRNKBookmark
    init(with BookmarkModelData: YRNKBookmark) {
        self.curBookmarkFolder = BookmarkModelData
    }
    func addChild(with yrnkBookmark: YRNKBookmark){
        curBookmarkFolder.addChild(child: yrnkBookmark)
    }
}
